<?php

// +----------------------------------------------------------------------
// | 常量定义
// +----------------------------------------------------------------------
namespace app\common\constant;

class Constants
{
    # JSON状态常量
    const JSON_STATUS_SUCCESS = 1;
    const JSON_STATUS_ERROR = 0;

    # JSON信息
    const JSON_MESSAGE_SUCCESS = 'success';
    const JSON_MESSAGE_ERROR = 'error';
    const JSON_MESSAGE_EMPTY = '';

    # 通用状态值
    const COMMON_STATUS_YES = 1;
    const COMMON_STATUS_NO = 0;

}
